<html>
<head>
<title><?
require_once("header.misc.php");
$page=currentPage();
if(!$page) {
	echo "NOT YET ADDED";
} else {
echo $page['page_name'];
}
?></title>
<link rel="stylesheet" type="text/css" href="http://<? echo $_SERVER['SERVER_NAME'] ?>/default.css">
<? Headers(); ?>
</head>
<body>
<table class="top" cellspacing="0"><tr>



<?
	foreach($MenuObjects as $name=>$link) {
		echo "<td>\n";
		$end = "</td>";
		if($link!=$_SERVER['SCRIPT_NAME'] OR true) {
			echo "<a href=\"" . $link . "\">";
			$end = "</a></td>\n";
		}
		echo "<nobr>" . $name . "</nobr>" . $end;
	}
?>


<td id="endcap" align="right"><i>WIMON</i>&nbsp;</td></tr></table>
<table class="main">
<tr><td>
		<br>
		<div id="mainDiv">
<?
Body();
?>
		</div>

<br><br><Br>
</td></tr>
<tr><td>
<hl>
<i>Created by Chris Vickery.</i>
</td></tr>
</table>
</body>
</html>